home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6176 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  839 b 

  1. Path: news.microsoft.com!news
  2. From: a-cnadc@microsoft.com (Dann Corbit)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: More Modulus questions
  5. Date: 23 Feb 1996 01:14:13 GMT
  6. Organization: Microsoft Corporation
  7. Message-ID: <4gj4d5$85c@news.microsoft.com>
  8. References: <Pine.SOL.3.90.960219171637.21117B-100000@eddie> <4gfnka$ni7@spanky.pls.ov.com> <4gfp5a$r8e@cloner2.ix.netcom.com>
  9. NNTP-Posting-Host: 157.57.171.202
  10. Mime-Version: 1.0
  11. X-Newsreader: WinVN 0.93.14
  12.  
  13. In article <4gfp5a$r8e@cloner2.ix.netcom.com>, wzjn@ix.netcom.com says...
  14. { snippage }
  15. >      
  16. >   if (first % 7)
  17. >      printf("First integer was a 7\n");
  18. >   else
  19. >      printf("Not a 7\n");
  20. In C, false is 0.  Any non-zero value is evaluated as true.
  21. -- 
  22. The opinions expressed in this message are my own personal views 
  23. and do not reflect the official views of Microsoft Corporation.
  24.  
  25.